import req from '@/http/http'
import {getServer} from '@/http/AppApi'

let ZHPQ_SERVER = getServer()

// 综治中心组织
// 修改
export const getCameraPointpositionList = id => {
  let path = ZHPQ_SERVER + '/cameraPointposition/list?gridId=' + id + '&t=' + Math.random()
  return req.get(path)
}
export const getVideo = data => {
  let path = ZHPQ_SERVER + '/cameraPointposition/video' + '?t=' + Math.random()
  return req.get(path, data)
}
export const getMapPoint = id => {
  let path = ZHPQ_SERVER + '/cameraPointposition/mapPoint/' + id + '?t=' + Math.random()
  return req.get(path)
}
